﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="KhachHangList.aspx.cs" Inherits="Admin_KhachHangList" Title="Untitled Page" %>
<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
<h5>Menu</h5>
<ul class ="Actions">
<li class ="Selected"><a href ="KhachHangList.aspx">Danh sách khách hàng</a></li>
<li><a href ="KhachHangAdd.aspx">Thêm mới khách hàng </a></li>
</ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
 <div class="title" id="DIV1" onclick="return DIV1_onclick()" style="font-weight: bold; color: red; font-style: italic; text-align: center">
        Danh Sách Khách Hàng&nbsp;</div>
    <div style="width: 100%">
        <div style="float: left; width: 75%">
            Mã KH:
            <asp:TextBox ID="txt_id_kh" runat="server" Width="122px"></asp:TextBox>
            Tên KH:
              <asp:TextBox ID="txt_tkh" runat="server" Width="122px"></asp:TextBox>
            <asp:Button ID="btn_Search" runat="server" OnClick="btn_Search_Click" Text="Tìm kiếm" />
        </div>
        <div>
            <a href="KhachHangAdd.aspx"><span style="color: #000000">Thêm KH Mới</span></a>
            |
            <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click">Xóa</asp:LinkButton>
        </div>
    </div>
    <div>
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table bgcolor="#cccccc" border="0" cellpadding="3" cellspacing="1" width="100%">
                
                    <thead>
                        <tr class="listtableheader">
                            <th>
                                Mã KH</th>
                            <th>
                                Tên KH</th>
                                
                              
                                Sửa</th>
                            <th>
                                <input id="cb_All" onclick="CheckAll(1);" type="checkbox" />
                                <a href="javascript:CheckAll(2)">Chọn hết</a>
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                    </tbody>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:Literal ID="lit_Ma" runat="server"></asp:Literal></td>
                    <td>
                        <asp:HyperLink ID="hyp_tkh" runat="server"></asp:HyperLink></td>
                                            
                        
                    <td>
                        <asp:HyperLink ID="hpl_Edit" runat="server" Text="Edit"></asp:HyperLink></td>
                    <td>
                        <asp:CheckBox ID="cb_Xoa" runat="server" />
                        <asp:HiddenField ID="hf_id" runat="server" />
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
                 </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    <div style="width: 100%">
        <div style="float: left">
            <cc1:pagerv2_8 id="Pager" runat="server" oncommand="Pager_Command"/>
        </div>
    </div>
</asp:Content>

